using System;
using System.Collections.Generic;
using System.IO;

namespace RStein.Posterous.API
{
    public interface IPosterousPost : IEntityWithClientState, IPostMediaStreamFunctions
    {
        string Link { get; }
        string Title{ get; set; }        
        string Url { get; }
        int Id { get;}
        string Body {get; set;}                    
        DateTime PostDate { get; }
        int Views { get; }
        bool Private { get; }
        IAuthor Author { get; }
        bool AreCommentsEnabled { get; }                
        IPosterousComment CreateNewComment(string commentBody);
        void AppendMedium(string filePath);        
        IEnumerable<IPosterousComment> Comments { get; }
        IEnumerable<IPosterousMedium> Media { get; }
        IEnumerable<String> Tags{ get; }
        void AddTag(string tag);
        IPosterousSite Site { get; }
        void Refresh();
        void RefreshAsync();
        event EventHandler<EventArgsValue<Boolean>> RefreshCompleted;
        
    }


}
